package com.binge.springboot.lesson21.entity;

import com.binge.springboot.lesson21.annotation.MyColumn;
import com.binge.springboot.lesson21.annotation.Mytable;

/**
 * @Title: User.java
 * @Package com.binge.springboot.lesson21.entity
 * @Description: 用户实体类
 * @author: binge
 * @date 2020/2/27
 * @version V1.0
 */

@Mytable("userTable")
public class User {
    @MyColumn("user_id")
    String userId;  	//用户ID

    @MyColumn("user_name")
    String userName;	//用户名

    @MyColumn("password")
    String password;	//用户密码
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
}
